<template>
	<view class="apps">
		<view class="banner">
			<image :src="info" style="width: 100%;height: auto;" mode="widthFix"></image>
		</view>
		<uv-tabbar value="0">
			<view class="tabitem blue" @click="baocun()">
				保存图片
			</view>
		</uv-tabbar>
	</view>
</template>
<script setup>
	import { util } from '/common/util.js';
	import { ref , reactive,nextTick  } from 'vue';
	import { onLoad,onShow,onReachBottom } from '@dcloudio/uni-app'
	import { timeFormat } from '@/uni_modules/uv-ui-tools/libs/function/index.js'
	const id = ref(0),info = ref([])
	const qrcode = ()=>{
		util.request({
			url:"/special/qrcode",
			data:{id:id.value},
			success:function(rlt){
				info.value = rlt.data;
			}
		})
	}
	onLoad((opt)=>{
		id.value = opt.id
		qrcode()
	})
</script>

<style scoped>
	.banner{width:100%;height:100vh;}
	.tabitem{display: flex; flex:1;align-items: center; justify-content: center; font-size: 28rpx;color:#fff;font-weight: 400;}
	.blue{background-color:#4f83fe}
</style>